How to calculate the number of vowels and consonants uning python code